package org.socialnetwork.dao;

import java.util.ArrayList;
import java.util.List;

import org.socialnetwork.pojo.Photo;

public class PhotoDAO {
	public List<Photo> getUserPictures(Integer userId) {
		List<Photo> lista = new ArrayList<Photo>();
		Photo p1 = new Photo();
		p1.setDescricao("photo 1");
		p1.setId("1");
		p1.setRating(18);
		lista.add(p1);
		
		p1 = new Photo();
		p1.setDescricao("photo 2");
		p1.setId("2");
		p1.setRating(16);
		lista.add(p1);
		
		p1 = new Photo();
		p1.setDescricao("photo 3");
		p1.setId("3");
		p1.setRating(14);
		lista.add(p1);
		
		return lista;
	}
}
